package online.sixfish.doubao.service;

import online.sixfish.doubao.model.entity.Notice;

import java.util.List;

public interface NoticeService  {
    List<Notice> getRecentNotice();

    Notice getById(Integer id);

    /**
     *定时任务-更新状态
     */
    void updateNoticeStatus2Show();

    /**
     *定时任务-更新过期公告状态
     */
    void updateNoticeStatus2Expired();
}
